home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 February / Chip_2003-02_cd1.bin / zkuste / xptools / install / Xsetup / setup.exe / {app} / plugins / DRS MSO2K Places Bar Small Icons.xpl next >
Text File  |  2002-06-23  |  1KB  |  52 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH 1"="Program Options\Microsoft Office\MS Office 2000\Open/Save Dialog"
  5. -----"UIPATH 2"="AAA\BBB\CCC"
  6. "NAME"="Small Icons"
  7. "VERSION"="1.01"
  8. "LANGUAGE"="VBScript"
  9. "TEXT 1"="Use small icons in places bar"
  10. "DESCRIPTION 1"="The default icon size for the Microsoft Office 2000 places bar is large."
  11. "DESCRIPTION 2"="Check this box to use small icons."
  12. "DESCRIPTION 3"="Clear this box to use large icons."
  13. "AUTHOR"="Donald R. Shroyer, Esq."
  14. "CONTACTURL"="http://www.lscrs.com"
  15. "COPYRIGHT"="Copyright ⌐ 2002 Donald R. Shroyer"
  16. "COMMENT 1"=""
  17.  
  18.  
  19. MSO2KOFPIS="HKCU\Software\Microsoft\Office\9.0\Common\Open Find\Places\ItemSize"
  20. MSO2K="HKCU\Software\Microsoft\Office\9.0\"
  21.  
  22. Sub Plugin_Initialize 
  23.  if RegPathExists(MSO2K) then
  24.   i=RegReadValue(MSO2KOFPIS)
  25.    if i=1 or IsEmpty(i) then
  26.     SetUIElement 1,false
  27.    else
  28.     SetUIElement 1,true
  29.    end if
  30.  else
  31.   Call Disable()
  32.  end if
  33. End Sub
  34.  
  35. Sub Plugin_CheckData(ElementIndex)
  36. End Sub
  37.  
  38. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  39.  b=GetUIElement(1)
  40.  if b=true then
  41.     Call RegWriteValue(MSO2KOFPIS,0,2)
  42.  else
  43.     Call RegWriteValue(MSO2KOFPIS,1,2)
  44.  end if
  45. End Sub
  46.  
  47. Sub Plugin_Terminate 
  48. End Sub
  49.  
  50.  
  51.  
  52.